<html>
<head><meta charset="utf-8"><title>Questions about allocator-adjacent topics · t-libs/wg-allocators · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/197181-t-libs/wg-allocators/index.html">t-libs/wg-allocators</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/197181-t-libs/wg-allocators/topic/Questions.20about.20allocator-adjacent.20topics.html">Questions about allocator-adjacent topics</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="247277868"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/197181-t-libs/wg-allocators/topic/Questions%20about%20allocator-adjacent%20topics/near/247277868" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Nick Cameron <a href="https://rust-lang.github.io/zulip_archive/stream/197181-t-libs/wg-allocators/topic/Questions.20about.20allocator-adjacent.20topics.html#247277868">(Jul 26 2021 at 23:48)</a>:</h4>
<p>I'm not sure if these things are within the remit of the allocators WG or not, but it seems like interested folk might be around.</p>
<p>Has there been any work on placement new or the <code>box</code> syntax since the RFC was unaccepted and implementation removed? Any discussion of what priority that work should have?</p>
<p>Is there a summary of allocation-related work that is necessary/desired for kernel development or similarly low-level work? (Specifically for the Linux kernel and/or more generally).</p>



<a name="248388213"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/197181-t-libs/wg-allocators/topic/Questions%20about%20allocator-adjacent%20topics/near/248388213" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Amanieu <a href="https://rust-lang.github.io/zulip_archive/stream/197181-t-libs/wg-allocators/topic/Questions.20about.20allocator-adjacent.20topics.html#248388213">(Aug 04 2021 at 18:24)</a>:</h4>
<p>AFAIK this is outside the scope of the allocators WG. At the very least, it has never been discussed within the WG.</p>



<a name="248388548"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/197181-t-libs/wg-allocators/topic/Questions%20about%20allocator-adjacent%20topics/near/248388548" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> John Ericson <a href="https://rust-lang.github.io/zulip_archive/stream/197181-t-libs/wg-allocators/topic/Questions.20about.20allocator-adjacent.20topics.html#248388548">(Aug 04 2021 at 18:27)</a>:</h4>
<p><span class="user-mention" data-user-id="256841">@Nick Cameron</span> Not been discussed, but I have thought about it, I think placement new a bit too magical, and <code>MaybeUninit</code> too low-level, and we'll need to go all the way back to those pre-1.0 "type state" ideas to get it right :D</p>



<a name="248388819"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/197181-t-libs/wg-allocators/topic/Questions%20about%20allocator-adjacent%20topics/near/248388819" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> John Ericson <a href="https://rust-lang.github.io/zulip_archive/stream/197181-t-libs/wg-allocators/topic/Questions.20about.20allocator-adjacent.20topics.html#248388819">(Aug 04 2021 at 18:29)</a>:</h4>
<p>So far, the kernel side seems fine with <code>try_</code> methods, which does side step the issue of really fine-grained control and not wasting effort building values before allocating, but I worry pushing on those others things will be a big quagmire, so I rather not block any kernel stuff on it.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>